Service Framework Metadata

This topic lists all exceptions generated by Service Framework Metadata.

Exception List

Resource Code Resource String

AsyncEndCalledOnWrongChannel

An asynchronous End was called on the wrong channel.

AsyncEndCalledWithAnIAsyncResult

An asynchronous End was called with an IAsyncResult from a different Begin method.

AttemptedToGetContractTypeForButThatTypeIs1

Attempted to get contract type for the specified.The type is not a ServiceContract and it does not inherit a ServiceContract.

CannotHaveTwoOperationsWithTheSameName3

Cannot have two operations in the same contract with the same name. The specified methods in the specified type violate this rule. Change the name of one of the operations by changing the method name or by using the Name property of OperationContractAttribute.

CannotInheritTwoOperationsWithTheSameName3

Cannot inherit two different operations with the same name. The specified operation from the specified contracts violate this rule. Change the name of one of the operations by changing the method name or by using the Name property of OperationContractAttribute.

CantCreateChannelWithManualAddressing

Cannot create a channel for a contract that requires a request/reply and a binding that requires manual addressing but only supports duplex communication.

DuplicateBehavior1

The value cannot be added to the collection. The collection already contains an item of the same specified type. This collection only supports one instance of each type.

InAContractInheritanceHierarchyIfParentHasCallbackChildMustToo

Because the specified base service contract has a specified callback contract, the specified derived service contract must also specify either the specified type, or a derived type as its callback contract.

InvalidAsyncBeginMethodSignatureForMethod2

Invalid asynchronous Begin method signature for the specified method in the specified ServiceContract type. Your begin method must take an AsyncCallback and an object as the last two arguments and return an IAsyncResult.

InvalidAsyncEndMethodSignatureForMethod2

Invalid asynchronous End method signature for the specified method in the specified ServiceContract type. Your end method must take an IAsyncResult as the last argument.

MessagePropertiesArraySize0

The array that was passed does not have enough space to hold all the properties contained by this collection.

OneWayAndFaultsIncompatible2

The specified method in the specified type is marked as IsOneWay=true and declares one or more FaultContractAttributes. One-way methods cannot declare FaultContractAttributes. Change IsOneWay to false or remove the FaultContractAttributes.

UnsupportedWSDLOnlyOneMessage

Unsupported Web Services Description Language. Only one message part is supported for fault messages. This fault message refers to more than one message part. If you have edit access to the Web Services Description Language file, you can fix the problem by removing the extra message parts such that fault message references just one part.

UnsupportedWSDLTheFault

Unsupported Web Services Description Language. The fault message part must reference an element. This fault message does not refer to an element. If you have edit access to the Web Services Definition Language document, you can fix the problem by referencing a schema element using the 'element' attribute.

WsdlImportErrorDependencyDetail

An error occurred while importing the specified that the other specified value is dependent on. The Xpath is also specified.

XsdMissingRequiredAttribute1

Missing the specified required attribute.