(self, state=None, error_record=None)
[MS-PSRP] 2.2.2.21 PIPELINE_STATE Message
        https://msdn.microsoft.com/en-us/library/dd304923.aspx

        :param state: The state of the pipeline
        :param error_record:
[MS-PSRP] 2.2.2.21 PIPELINE_STATE Message
        https://msdn.microsoft.com/en-us/library/dd304923.aspx
[ MS - PSRP ] 2 . 2 . 2 . 21 PIPELINE_STATE Message https : // msdn . microsoft . com / en - us / library / dd304923 . aspx
def __init__(self, state=None, error_record=None):
        """
        [MS-PSRP] 2.2.2.21 PIPELINE_STATE Message
        https://msdn.microsoft.com/en-us/library/dd304923.aspx

        :param state: The state of the pipeline
        :param error_record:
        """
        super(PipelineState, self).__init__()
        self._extended_properties = (
            ('state', ObjectMeta("I32", name="PipelineState")),
            ('error_record', ObjectMeta("Obj", name="ExceptionAsErrorRecord",
                                        optional=True)),
        )
        self.state = state
        self.error_record = error_record
def __init__ ( self , state = None , error_record = None ) : super ( PipelineState , self ) . __init__ ( ) self . _extended_properties = ( ( 'state' , ObjectMeta ( "I32" , name = "PipelineState" ) ) , ( 'error_record' , ObjectMeta ( "Obj" , name = "ExceptionAsErrorRecord" , optional = True ) ) , ) self . state = state self . error_record = error_record